fix compile error with original fake vsync method