Fix the way localStorage is implemented for the manualResize plugin. Fixes #1466.