On the effect of alignment layers on blue phase liquid crystals