Clear layer cache once fields change