[[ Bug 12038 ]] Actually set visual effect rect
Merge pull request #571 from runrevali/bugfix-12038

[[ Bug 12038 ]] Actually set visual effect rect