Removed event generation when shake detection is disabled