resolve #8. Replace canvas by DOM-elements in active layer