Fix levelupwindow bug