Improved performance by caching IsMarkedCell() results in BoardComponent.