Fix add rectangle

seems VTK doesn't handle the Y coordinate same way anymore in VTK 5.8. 
Fix this and make the addRectangle faster.