Remove redundant line causing draw context error