rectangles are created and rendered around pirates