Use frame-width instead of screen-width.