fixed another edge case with beetle movement