Fix graphics resize on FF