Corrected the front raycast of snake