Make sure that you've downloaded 6.40.5. Marco fixed it in 6.40.5, but not in 6.40.4. If the problem also happens in 6.40.5, it must have had a different reason. Can you provide a test level in that case?