Bug fixed with movement