Rewrote getFrameNumber. Still not working tough.