FPS, fixed a bug in Shape