fix mouse_picking crash