Fix for MOSYNC-2696. Size policy issue after removing the main widget of...

... a screen.