Fixed bug where offsets were derived from camera position.