Fix post message bug. Calculate deck columns width