set max framerate to 15, fixed bugs in findShapes