z-index change of drawing