fixed bug when enemy move right and after go to up or bottom