panorama: make sure we have a number (fixes #280)

although i cannot reproduce the error, this implements a fix which has
been applied to the other toFixed() already.
panorama: fixed icon using cached state