Fix deegree-services-ticket #611: WMS returning blank maps sometimes

See http://tracker.deegree.org/deegree-services/ticket/611 for more details.