fixed content size of MenuItem is incorrect when font size or font name change.
Merge pull request #5819 from Dhilan007/develop_menu

fixed content size of MenuItem is incorrect when font size or font name ...