A fix for the Unit Tests.
In them, the DesignPanel is not available