Fixed an object hook with a bad prototype

* Also made it so that say color depth checks recursively work downward
if there isn't any value defined.