Fix css percent bugs