Fixes selected boundary box in rendering window

- The selected boundary box can now be seen in the rendering window.
The selected boundary box was covered by child boxes. This fix draws
the selected box as the last box.