Fixes layer loading issue.