rect tool fixed
rect tool rendering fix