allow 1px of leeway in window size