Fixing kiosk mode when a new surf instance is run.