Fixing issue with custom images sizes being reverted to small