Fixed issue causing backspace key from working

Merged changes from UW project.