fix bg-pattern gap bug: pattern becomes unaligned on large screens during resize