Fixed objects with sprites and added a rotation snippet to the draw() function.