Set constant dimensions when the model consists of DNA animation

It used to be done, but during recent refactoring these lines were
changed. Fix it.