I have figured out a problem with $gCms->variables['position'] within module.functions.php because I got 00003.00007 instead of 3.7 when being on a module-generated page. Again this is just a dirty hack but you might know where to solve it. On line 144 - 145 I have inserted:
$gCms->variables['position'] = $line['hierarchy'];
$gCms->variables['position'] = str_replace("0000", "", $gCms->variables['position']);
I should finally sign-up for the bug-tracking module ... but (as always) I am either too busy or too lazy.

Regards
Nils