fixing raycaster