Fixed a Frame associated bug.