Handles capture screen on Android properly