I made the fix to this, but it wasn't quite like the example above. The only thing I did:
public static void ContextMenuRequest(NetState state, PacketReader pvSrc)
{
var target = World.FindEntity(pvSrc.ReadInt32());
if (target != null && ObjectPropertyList.Enabled)...