Fixed problem with memory on rotating images.