Some changes in frame rendering. Nok...
Bugfix - frame rendering.