Added the check for system vs. object ceiling again.