Use vec3 for scaling.

Fix mousemove checking for visibility on undefined pointMesh.