The deselect all button doesn't work when entering a group with lines or shapes and selecting the corresponding tool.
Steps to reproduce:
  1. Select the line tool and create 2 lines
  2. Group those lines and enter the group
  3. Switch back to the line tool
  4. Click the deselect all button in the object list
Expected: All lines should be deselected.
Actual: The lines aren't deselected.