Fixed the ability to walk through gates