Fix ray rotating