Implemented constant update speed game loop