Added fix for going thourgh walls