Fixed padding issue on small primary images