Insert white/ empty rect before applying scaling instead of after so size stays correct
merge for gh-pages build
build