Fixed a nasty little bug regarding prototype inheritance and AABBs.