fix possible issue with canvas (should not happen with gfx 2.0 but
better be sure)