Inline drawScene into animate