bug fix for embedded block width and height computing