fixed drawing on status bar in edit mode