Implement getters for ShapeComponent

Also add const for them