refactor(components) Cleaned up and standardized component rendering. (READY)

- Added a new helper function `applyTarget()` that figures out what the target is for a component and only applies the passed function if the target exists. This DRYs up all the render() functions a bit.
- Also fixes a bug I introduced in the previous axis z-index branch.