fixed foreground depthing