Floating menu is behaving weird

I think I accidentally applied the new caching mechanism to submenus in the recent alphas. Could you check whether it works again in 5.247 ? (uploading)