Prevent unexpected call of mouseout event