fixes issues with current region layer