fixed bug with zoom and 3d-canvas