Adding widgets down after a call to removeWidgets widgets results in white space at the top

to reproduce, add some widgets to a canvas, then removeWidgets, then add some more. Didnt test it in release, but besides the aesthetical problem, it will probably crash because it's accessing a deleted pointer. This fixes the problem