Fixed bug in setting display picture