Fixed the jumping issue