fix particleengine context rebuild

#506