[core] Properly inherit properties for parent classes

This bug has been revealated by 138c97b
[sensor] Fix a typo in semantic_camara