Shake effect: Both is not a valid value. Fixes #128.
(cherry picked from commit 62f919e6659e25582f0f9cd6194af5083d7600a8)