Ooops, minor bug with wrap modes.