removed checking isInEditMode() for drawing canvas in IDE