datashader plot in bokeh server resets when zooming.

I am trying to put a datashaded plot in a bokeh server dashboard I’m working on. It mostly works, except when I try to zoom in on the y-axis of the plot it will “reset”. The x-axis works fine, and the code works fine if I put it in a jupyter notebook instead of a bokeh server. I’ve managed to make this script which reproduces the problem I am having, and posted it on a stackoverflow question. Is there some bokeh server configuration I’m missing or something? I’m currently running it from a remote machine and using an ssh tunnel to access it, as described in the bokeh server documentation.