To reproduse:
1. Check the debug mode checkbox in the applications settings
2. Add an element to the scene
3. Add the breakpoint to the element
Expected: the red rectangle on the element appears
4. Uncheck the debug mode checkbox in the applications settings
Expected: the red rectangle on the element disappears
Current: nothing happens