Fix backspace key handling in OS X