Not mathematically correct if the width and height are different, but it's good enough for today.