Another bug of picture taking. Wrong sequence of actions was here.