Running update & render on the same thread, might have some problems
though...