Small video scale refactor

Made the code only do the math once.