fix for element unset width or height