Fix bool for screen off gestures