fixed crash when updating menu properties on an item which isn't build yet.