fix incorrectly implemented subcompositor