I just found out that this problem doesn't seem to occur if the configuration option "/apps/metacity/general/application_based" is set to "TRUE". This is a workaround, but of course not a solution.