improved performance when displaying rasterdata