(Quick-)Fixed annoying warnings in the console.