Bugfix
                         
                    
                    When the application is switched to design mode, any resizing of the window results in JavaScript errors.
Test
- Switching to design mode
 - Resize the browser window 
    
- JavaScript errors must not occur.