Fix: Image adjusting not done correctly
Fix: Crash if desired size of image equals current size (closes #24)