Reset component state when it is reused.
Merge pull request #1 from Osmose/reset-components

Reset component state when it is reused.