pothos-gui: fix to only allow auto-scroll under specific states