Removed prevent call since it blocks caret placement on WebKit.