Use ray cast to find more precise mouse position