fix #18 scaling issue with video