don't include layer effects if they are disabled