Fixed offsetWidth returning 0