Fix openedWindows.get() undefined bug :)