Adding slight delay to group layer visibility requests and fixing linter issues