Fix resize marker. Thanks to daxman