Fix custom image size setting

Currently if you use the imageSize property at all, you'll get an error when it tries to call .css() on $customIcon (as it isn't a jQuery object).