[PaintCode] Fixed code issue that was causing build error