Added render method to rotate textures while drawing.