Fix element padding issue