Fixes incorrect MeasureSpec for view width