Fixed regression with layer groups

Closes #24
updated development version