[Bug 48947] Using hooks to customise menu drawing doesn't work