Fix for mouse picking.