Fixed Crash Error, when Snake tries to go into entrance