Fixed another pixmap handling bug.