Remade movement

Still doesn't work when using maximize on play.