Fixing black photo error

For some reason those lines where commented out, but they shouldnt.