fixed a crash on dashboard when it open and user switch into View mode and resize