Image size issue

Fixes an issue where it sometimes wouldn't create the correct sizes.