Fixed a stroke bug