more displacement fixes, still not working correctly