Image size bugfix