fix to pyglet editor bool toggles