Fixed resizing calculations
Release v0.0.5