Legacy graphics bug fix