Fixed default event not prevented bug