Fix for bug with projection