Fixed a bug in presentation driver.