fixed Windows build
model and drawRects color override
test for drawRects color and model
offset-color for calcOffset