Restore isFullscreen check in manage hook