Made pausing stop character movement