Fixes to mark drawing and row deletion.