Fixed bug that figures is moveing in wrong direction