Fixed program graphics functions