fix green screen in inputdevice setup