Remove unwanted event.preventDefault