sample-three-dimensional: update to entity system
window: fix frame time always returning 0