Fixed undefined reference bug to removed shapes that were removed prematurely. Version 1.0.1.