implemented bounceContain for surfaceEnv. fixed bugs in bounceContain for worldBoxEnv.