Move frame count into scene factory