Fixed bug with static image display