ignore invisible sprites in getBounds (close #62)