Bug fixes

Other changes

#644130: Unexpected or even wrong scaling of videos - by Pisco - changed how scaling of videos work to be more consistent, introduce control_bar_height for codecs and the ratio parameter for users. This is the main reason for the beta release. Needs testing.