fix video scaling