bugfix for IE "permission denied" exception

This patch provides a solution for Bug #7056