Update frame.py

gg that was annoying D: