Fixed graphics problem