Remove extra code that causes game to lag