more preparation for pixmap cacheing