grid in editor fix