Fixed bugs with mouse click raycast