Prevent undefined $topPanel error