Fixed fps speed issue