Fixed error with setInterval, runs at 30fps now.