Fixing ScaledIcon class