Fix size detection in DeepZoom.