Changes for running graphics tests in hydro

All changes are either only influencing graphics tests or are necessary for reliable execution.