Fixed fillStyle issue that prevented string painting in canvas