Old versions of emacs used to have this issue. This is fixed in emacs24.