Fixing some compiler warnings and properties.

In adapting my project to build with dub, I found that DSFML generates a compiler warning, and complains when D2 property syntax is enforced. This is a quick little patch to make the compiler not complain. :)