sprites are now rendered as tiles in the correct image and in the correct position