Modify BackgroundAttachment.getType