Fix a bug in the texturing when the camera moves.