If you read through the Building a platform game - a beginner's guide tutorial it explains what's going on. Your collision polygons change for each frame. By using an invisible rectangle sprite and pinning your animation to it, you get both the correct collision rectangles and smooth movement.