Added support for roundrectangle shape, including intersection calculations