minor corrections to make alignment pixel-perfect