Fixed annoying misalignment on resize bug.