fixed js error on panorama dashboad: Cannot call method 'getSize' of undefined