Fixing the Gimp palette import feature