Fixed bug with moving and attacking immediately after