Bugfix: onload works correct

Signed-off-by: unknown <Daniel@Daniel-PC.(none)>