JAI causes BufferedImage.getType() to return TYPE_CUSTOM