correction of translation, snapToPixel and dispatch