target position check fix

`/(absolute|fixed)/.test()` is always 'false'. should be `/(absolute|fixed)/.test(position)`