surfaceflinger: Work around aliasing violations