fixes resize scene