Fix dimensions on masked area