Fixed bug #17360: beforeWrap/afterWrap properties of TMENUITEM not working anymore