fixes overlap 1px bug