Fix display bug when 3D is disabled