workaround for dead hit area around shapes due to anti-aliasing