Fixed bug when adding new kewframes