Apply style before drawing