enable dithering and disable strictmode