mapfishapp - fixed legend not being printed