fix kiosk mode

hi,
just stumbled over this while playing around with the python api.
cheers, sean