fix: Fixes cannot getContent of undefined bug when run TASKBAR=false and Close Window then re-open it