Allow device input in maximize mode. Discard input for other portals.