Fixed an event bug: event.preventDefault()