Prevent Y-offset from exceeding valid range in texture upload code. This