#14322 Fixed Java 1.7 related bug with empty images when embedded into JPanels.