fixes regions layer on/off not setting region