Fixes visual offset problem.