#424 Make sure fragments only get intents if being visible and attached