make rendering of background grid optional