Fix Emacs 24.4 display issues