alt movement input, manhattan distance, bug fix in entityManager