fixed getBounds deprecation error
Merge pull request #122 from Ank13/icons

fixed getBounds deprecation error