fixing client/server rendering inconsistencies for examples (issue #350)