[#369] fixed `getBounds` when no specific shapes are defined