Replace use of obsolete function screen-width with frame-width