fix for delayed clicks