It's more safer that we apply Math.round to previewX and previewY to prevent 0.5 sub-pixel offset.