Revert "Pick frame size index from available sizes array"
Revert "Pick frame size index from available sizes array"

This reverts commit 810d59e9a6a5b37fc8dba3b5275bac5ac3db4849.

dabapps/betta,dabapps/betta,dabapps/betta