- Fixed onresize bug