Fix path issue with graphics