Fix NPE on non-existent resources in o:graphicImage