Fixed Issue #2 (The frame probably didn't sleep correctly)