rAF bug fixed