wrong image id when selecting type fix, getFrameById function