Prevent errors due to undefined $topPanel