fix illegal access exception while rendering context menu