Apparently background-position-x is not supported on Firefox, so here is a way around.