Fixes frame number for test with images