mapfishapp - fixed wmts legend printing issue