make game width-agnostic to fix iPad bug