Fixed bug with BundledAsset in image size function