Fixed #1078: Fixed the problem with particle texture in canvas mode.

Fixed the problem with particle texture in canvas mode.