removed the 'undo offset hack' for painting the background and status line