Fixes bug that would keep toolbar alive when moving out of the anchor input