Fix graphics ref