make overlay size correct