Fixed the `getBounds()` function (thanks Jay)

also fixed the mixed tabs & spaces, because after all .... I'm not such
a bad person :P