Seperated teh render methods of everything into a render and an update method, this fixed the glitch where the player sprite would jump around a little while moving