fix: element not showing after maximize