Makes fixes for drawing example for scheduler