crazy helpers to the pixelTick event :-)