Changed frame rotation to num, fixes #16