fixed skewed images bug if image size is set explicitly