Don't call preventDefault for spaces to prevent browser scrolling