Ignore shakes when app is in background