layer check for allowPlacement